<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简易计算器</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="calculator-container">
        <div class="calculator">
            <!-- 显示屏区域 -->
            <div class="display">
                <div class="display-value" id="display">0</div>
                <div class="display-history" id="history"></div>
            </div>
            
            <!-- 按钮网格 -->
            <div class="buttons-grid">
                <button class="btn number" data-value="7">7</button>
                <button class="btn number" data-value="8">8</button>
                <button class="btn number" data-value="9">9</button>
                <button class="btn operator" data-value="÷">÷</button>
                
                <button class="btn number" data-value="4">4</button>
                <button class="btn number" data-value="5">5</button>
                <button class="btn number" data-value="6">6</button>
                <button class="btn operator" data-value="×">×</button>
                
                <button class="btn number" data-value="1">1</button>
                <button class="btn number" data-value="2">2</button>
                <button class="btn number" data-value="3">3</button>
                <button class="btn operator" data-value="-">-</button>
                
                <button class="btn number" data-value="0">0</button>
                <button class="btn number" data-value=".">.</button>
                <button class="btn equals" data-value="=">=</button>
                <button class="btn operator" data-value="+">+</button>
                
                <button class="btn clear" data-value="clear">清除</button>
                <button class="btn backspace" data-value="backspace">退格</button>
            </div>
        </div>
        
        <div class="calculator-info">
            <p>简易计算器 - 支持加减乘除四则运算</p>
        </div>
    </div>
    
    <script src="script.js"></script>
</body>
</html>